package indi.jp.project.base.service;

import indi.jp.project.base.entity.Employee;
import indi.jp.project.base.entity.EmployeeTemp;
import indi.jp.project.core.entity.JsonResult;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface EmployeeService {

    Map<String, Object> queryGrid(Employee entity) throws SQLException;

    JsonResult save(Employee entity) throws SQLException;

    int deleteById(String id) throws SQLException;

    Employee findEmployeeById(String id) throws SQLException;

    Map<String, Object> queryTempGrid(EmployeeTemp entity) throws SQLException;

    void batchInsertTemp(List<EmployeeTemp> list) throws SQLException;

    int doExecute() throws SQLException;

    Employee getEmployeeInfo(Employee entity) throws SQLException;

    Map<String, Object> getProcessEmployee(Map<String, Object> params) throws SQLException;

    void dealCert() throws SQLException;
}
